//   Copyright 2012,2013 Vaughn Vernon
//
//   Licensed under the Apache License, Version 2.0 (the "License");
//   you may not use this file except in compliance with the License.
//   You may obtain a copy of the License at
//
//       http://www.apache.org/licenses/LICENSE-2.0
//
//   Unless required by applicable law or agreed to in writing, software
//   distributed under the License is distributed on an "AS IS" BASIS,
//   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//   See the License for the specific language governing permissions and
//   limitations under the License.

package com.saasovation.common.notification;

/**
 * 通知日志信息
 */
class NotificationLogInfo {

    /**
     * 通知日志ID
     */
    private NotificationLogId notificationLogId;
    /**
     * 记录总数
     */
    private long totalLogged;

    /**
     * 由以下参数构造通知日志信息
     * @param aNotificationLogId    通知日志ID
     * @param aTotalLogged          记录总数
     */
    public NotificationLogInfo(NotificationLogId aNotificationLogId, long aTotalLogged) {
        super();

        this.notificationLogId = aNotificationLogId;
        this.totalLogged = aTotalLogged;
    }

    /**
     * 获取通知日志ID
     * @return                      返回通知日志ID
     */
    public NotificationLogId notificationLogId() {
        return this.notificationLogId;
    }

    /**
     * 获取记录总数
     * @return                      返回长整型
     */
    public long totalLogged() {
        return this.totalLogged;
    }
}
